package com.tin.restfinder;

import java.util.ArrayList;

import android.graphics.Bitmap;

public class Restaurant {
	private String name;
	private Bitmap logo;
	private String street;
	private String city;
	private String telephone;
	private int rest_id;
	private double latitude;
	private double longitude;
	private double rating;
	private String description;
	private ArrayList<String> tags;
	private ArrayList<Comments> comments;
	private int rated;
	
	Restaurant()
	{
		tags=new ArrayList<String>();
		comments=new ArrayList<Comments>();
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public int getRest_id() {
		return rest_id;
	}
	public void setRest_id(int rest_id) {
		this.rest_id = rest_id;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public double getRating() {
		return rating;
	}
	public void setRating(double rating) {
		this.rating = rating;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public ArrayList<String> getTags() {
		return tags;
	}
	public void setTags(ArrayList<String> tags) {
		this.tags = tags;
	}
	public ArrayList<Comments> getComments() {
		return comments;
	}
	public void setComments(ArrayList<Comments> comments) {
		this.comments = comments;
	}
	public boolean Israted() {
		if(rated==0)
			return false;
		else 
			return true;
	}
	public void setRated(int rated) {
		this.rated = rated;
	}
	public int getRated(){
		return rated;
	
	}
	public void setLogo(Bitmap logo) {
		this.logo = logo;
	}
	public Bitmap getLogo() {
		return logo;
	}
}
